import request from '@/utils/request'

export function itemList(params) {
  return request({
    url: '/base/items',
    method: 'get',
    params
  })
}

export function canalInputList(data) {
  return request({
    url: '/dashboard',
    method: 'post',
    data
  })
}

export function updatePwd(data) {
  return request({
    url: '/up/pwd',
    method: 'post',
    data
  })
}